<input id="status" name="status" type="hidden" value="{$params.status}"/>
<input id="p" name="p" type="hidden" value="{$p}" />
<table class="table table-bordered">
    <thead>
      <tr>
        <th width="15%">订单号</th>
	  	<th>聚合订单号</th>
	  	<th>第三方支付订单号</th>
        <th width="6%">支付方式</th>
        <th width="5%">订单金额</th>
        <th width="6%">加油卡类型</th>
        <th width="15%" >加油卡卡号</th>
        <th width="6%" >充值用户ID</th>
        <th width="5%" >充值用户</th>
        <th width="6%" >充值状态</th>
        <th width="9%" >订单时间</th>
        <th width="5%" >操作</th>
      </tr>
    </thead>
    <tbody>
      <volist name="list" id="vo" key="k">
        <tr>
        	<td>{$vo.order_sn}</td>
			<td>{$vo.juhe_order_sn}</td>
			<td>{$vo.pay_sn}</td>
        	<td>
        		<if condition="$vo['pay_code'] eq 'ALIPAY'">
        		支付宝
        		<elseif condition="$vo['pay_code'] eq 'WEIXIN'"/>
        		微信
        		<elseif condition="$vo['pay_code'] eq 'LAKALA'"/>
        		拉卡拉
        		</if>
        	</td>
        	<td>{$vo.money}</td>
        	<td>
        		<if condition="$vo['card_type'] eq 1">
        		中石化
        		<else />
        		中石油
        		</if>
        	</td>
        	<td>{$vo.card_num}</td>
        	<td>{$vo.user_id}</td>
        	<td>{$vo.nick_name}</td>
        	<td>
				<if condition="$vo['status'] eq 2">
				充值中
				<elseif condition="$vo['status'] eq 3"/>
				成功
				<elseif condition="$vo['status'] eq 4"/>
				充值中
				<elseif condition="$vo['status'] eq 5"/>
				撤销
				</if>
			</td>
        	<td>{$vo.create_time|date="Y-m-d H:i:s", ###}</td>
        	<td>
        		<a target="_blank" href="/oilPayOrder/orderDetail/id/{$vo.id}">查看</a>
        		<if condition="$vo.status eq 4">
        		<br /><a onclick="oilpay_order_refund({$vo.id});" href="javascript:;">退款</a>
        		</if>
        	</td>
        </tr>
      </volist>
    </tbody>
  </table>
  <div class="pageFaye"><div class="pager">{$page}</div><div class="clear"></div></div>

